package com.design.iterator;


import java.util.List;

/**
 * @author leali
 * @title: ProductList
 * @projectName design
 * @description: 商品数据类：具体聚合类
 * @date 2022/1/3 19:20
 */
public class ProductList extends AbstractObjectList{
    public ProductList(List<String> objects) {
        super(objects);
    }

    @Override
    public AbstractIterator createIterator() {
        return new ProductIterator(this);
    }
}
